"""
异步任务程序启动的主模块
"""

import os


os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tenthpower.settings')


import django

django.setup()

from celery import Celery


app = Celery('celery')

app.config_from_object('celery_tasks.config')

app.autodiscover_tasks([
    'celery_tasks.sms',

])
